package ema.tpjee.banking.model;

import java.io.Serializable;




public class City implements Serializable{
	private static final long serialVersionUID = -5494809610279467399L;

	private int id;
	private String name;
	private String zipCode;
	private String country;
	
	
	public City() {
	
	}
	
	@Override
	public String toString(){
		return id+";"+zipCode+";"+name+";"+country;
	}
	
	public City(String name, String country, String zipCode) {
		this.name = name;
		this.country = country;
		this.zipCode = zipCode;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getZipCode() {
		return zipCode;
	}
	public void setZipCode(String zipCode) {
		this.zipCode = zipCode;
	}
	public String getCountry() {
		return country;
	}
	public void setCountry(String country) {
		this.country = country;
	}
	public int getId() {
		return id;
	}

	public void setId(int i) {
		id=i;	
	}
}
